package com.schoolcloud.social.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.schoolcloud.social.entity.SocEventConditionsTypes;
import com.schoolcloud.social.service.SocEventConditionsTypesService;
import com.schoolcloud.social.mapper.SocEventConditionsTypesMapper;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.Date;

/**
* @author hongmizfb
* @description 针对表【soc_event_conditions_types(活动参与条件表)】的数据库操作Service实现
* @createDate 2025-03-02 13:11:17
*/
@Service
public class SocEventConditionsTypesServiceImpl extends ServiceImpl<SocEventConditionsTypesMapper, SocEventConditionsTypes>
    implements SocEventConditionsTypesService{

    @Override
    public void addEventCondition(SocEventConditionsTypes eventConditionsTypes) {
        eventConditionsTypes.setCreateTime(LocalDateTime.now());
        save(eventConditionsTypes);
    }
}




